package student.Dao;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;

import org.apache.poi.openxml4j.exceptions.InvalidFormatException;

import student.base.Student;

public interface StudentDao {
	void leadingIn(String fileName) throws InvalidFormatException, FileNotFoundException;
	void leadingOut() throws ClassNotFoundException, FileNotFoundException, IOException, SQLException;
	void create(Student student);//增
	void remove(String code);//删
	void update() throws SQLException;//改
	Student findByName(String name);//通过姓名查
	Student findByCode(String code);//通过Code查
}
